package com.neusoft.boot32.dibuy.entity.basic;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum StatusEnum {
    ACTIVE(1,"正常"),
    INACTIVE(0,"禁用"),
    DELLETED(-1,"删除")

    ;

    @EnumValue
    private Integer code =1;
    private String desc = "正常";

    StatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }


    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc){
    }
}
